﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using PMS.BusinessFacade;
using PMS.EntityManage;
using PMS.Common;
using PMS.EntityQuery;
using System.Data.SqlClient;
using System.Collections.Generic;

public partial class Modules_Sysmgr_UserAdd : System.Web.UI.Page
{
    ISys_UserHandler userHandler = new Sys_UserManage();

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            dataBind();
        }
    }

    private void dataBind()
    {

        //if (Request["ID"] != null && Request["ID"] != string.Empty)
        //{
        //    int _userID = 0;
        //    int.TryParse(Request["ID"], out _userID);

        //    if (_userID != 0)
        //    {
        //        Sys_UserQuery query = userHandler.GetSys_UserQuery(_userID);
        //        if (query != null)
        //        {
        //            txtName.Text = query.UserName;
                  
        //            txtPwd.Attributes.Add("value", query.Password);
        //            txtConfimPwd.Attributes.Add("value", query.Password);

        //            ddlValid.SelectedValue = query.Status.ToString();                    
        //        }
        //    }
        //}
    }

    protected void btnSave_Click(object sender, EventArgs e)
    { 
        
    }

}
